projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d1bcfb
)
Improve password-cache-add example in comment
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 18 May 2020 22:42:18 +0000
(15:42 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 18 May 2020 22:47:25 +0000
(15:47 -0700)
* lisp/password-cache.el: Improve comment. See Andreas Schwab in:
https://lists.gnu.org/r/emacs-devel/2020-05/msg02422.html
lisp/password-cache.el
patch
|
blob
|
history
diff --git
a/lisp/password-cache.el
b/lisp/password-cache.el
index 86d802f283c27b258951c1363a3bff8ab2e7ea9c..f5007579a8a133535ddfd5d8d194695ee22fe441 100644
(file)
--- a/
lisp/password-cache.el
+++ b/
lisp/password-cache.el
@@
-31,7
+31,8
@@
;; ;; Minibuffer prompt for password.
;; => "foo"
;;
-;; (password-cache-add "test" (copy-sequence "foo"))
+;; (password-cache-add "test" (read-passwd "Password? "))
+;; ;; Minibuffer prompt from read-passwd, which returns "foo".
;; => nil
;; (password-read "Password? " "test")